package com.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MatchrecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MatchrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andManoIsNull() {
            addCriterion("mano is null");
            return (Criteria) this;
        }

        public Criteria andManoIsNotNull() {
            addCriterion("mano is not null");
            return (Criteria) this;
        }

        public Criteria andManoEqualTo(String value) {
            addCriterion("mano =", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotEqualTo(String value) {
            addCriterion("mano <>", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThan(String value) {
            addCriterion("mano >", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThanOrEqualTo(String value) {
            addCriterion("mano >=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThan(String value) {
            addCriterion("mano <", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThanOrEqualTo(String value) {
            addCriterion("mano <=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLike(String value) {
            addCriterion("mano like", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotLike(String value) {
            addCriterion("mano not like", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoIn(List<String> values) {
            addCriterion("mano in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotIn(List<String> values) {
            addCriterion("mano not in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoBetween(String value1, String value2) {
            addCriterion("mano between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotBetween(String value1, String value2) {
            addCriterion("mano not between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andTnoIsNull() {
            addCriterion("tno is null");
            return (Criteria) this;
        }

        public Criteria andTnoIsNotNull() {
            addCriterion("tno is not null");
            return (Criteria) this;
        }

        public Criteria andTnoEqualTo(String value) {
            addCriterion("tno =", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotEqualTo(String value) {
            addCriterion("tno <>", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoGreaterThan(String value) {
            addCriterion("tno >", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoGreaterThanOrEqualTo(String value) {
            addCriterion("tno >=", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLessThan(String value) {
            addCriterion("tno <", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLessThanOrEqualTo(String value) {
            addCriterion("tno <=", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLike(String value) {
            addCriterion("tno like", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotLike(String value) {
            addCriterion("tno not like", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoIn(List<String> values) {
            addCriterion("tno in", values, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotIn(List<String> values) {
            addCriterion("tno not in", values, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoBetween(String value1, String value2) {
            addCriterion("tno between", value1, value2, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotBetween(String value1, String value2) {
            addCriterion("tno not between", value1, value2, "tno");
            return (Criteria) this;
        }

        public Criteria andMtnoIsNull() {
            addCriterion("mtno is null");
            return (Criteria) this;
        }

        public Criteria andMtnoIsNotNull() {
            addCriterion("mtno is not null");
            return (Criteria) this;
        }

        public Criteria andMtnoEqualTo(Integer value) {
            addCriterion("mtno =", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoNotEqualTo(Integer value) {
            addCriterion("mtno <>", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoGreaterThan(Integer value) {
            addCriterion("mtno >", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("mtno >=", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoLessThan(Integer value) {
            addCriterion("mtno <", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoLessThanOrEqualTo(Integer value) {
            addCriterion("mtno <=", value, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoIn(List<Integer> values) {
            addCriterion("mtno in", values, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoNotIn(List<Integer> values) {
            addCriterion("mtno not in", values, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoBetween(Integer value1, Integer value2) {
            addCriterion("mtno between", value1, value2, "mtno");
            return (Criteria) this;
        }

        public Criteria andMtnoNotBetween(Integer value1, Integer value2) {
            addCriterion("mtno not between", value1, value2, "mtno");
            return (Criteria) this;
        }

        public Criteria andBeginyearIsNull() {
            addCriterion("beginYear is null");
            return (Criteria) this;
        }

        public Criteria andBeginyearIsNotNull() {
            addCriterion("beginYear is not null");
            return (Criteria) this;
        }

        public Criteria andBeginyearEqualTo(String value) {
            addCriterion("beginYear =", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearNotEqualTo(String value) {
            addCriterion("beginYear <>", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearGreaterThan(String value) {
            addCriterion("beginYear >", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearGreaterThanOrEqualTo(String value) {
            addCriterion("beginYear >=", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearLessThan(String value) {
            addCriterion("beginYear <", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearLessThanOrEqualTo(String value) {
            addCriterion("beginYear <=", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearLike(String value) {
            addCriterion("beginYear like", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearNotLike(String value) {
            addCriterion("beginYear not like", value, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearIn(List<String> values) {
            addCriterion("beginYear in", values, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearNotIn(List<String> values) {
            addCriterion("beginYear not in", values, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearBetween(String value1, String value2) {
            addCriterion("beginYear between", value1, value2, "beginyear");
            return (Criteria) this;
        }

        public Criteria andBeginyearNotBetween(String value1, String value2) {
            addCriterion("beginYear not between", value1, value2, "beginyear");
            return (Criteria) this;
        }

        public Criteria andMnoIsNull() {
            addCriterion("mno is null");
            return (Criteria) this;
        }

        public Criteria andMnoIsNotNull() {
            addCriterion("mno is not null");
            return (Criteria) this;
        }

        public Criteria andMnoEqualTo(Integer value) {
            addCriterion("mno =", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotEqualTo(Integer value) {
            addCriterion("mno <>", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThan(Integer value) {
            addCriterion("mno >", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("mno >=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThan(Integer value) {
            addCriterion("mno <", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThanOrEqualTo(Integer value) {
            addCriterion("mno <=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoIn(List<Integer> values) {
            addCriterion("mno in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotIn(List<Integer> values) {
            addCriterion("mno not in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoBetween(Integer value1, Integer value2) {
            addCriterion("mno between", value1, value2, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotBetween(Integer value1, Integer value2) {
            addCriterion("mno not between", value1, value2, "mno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoIsNull() {
            addCriterion("tea_tno is null");
            return (Criteria) this;
        }

        public Criteria andTeaTnoIsNotNull() {
            addCriterion("tea_tno is not null");
            return (Criteria) this;
        }

        public Criteria andTeaTnoEqualTo(String value) {
            addCriterion("tea_tno =", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoNotEqualTo(String value) {
            addCriterion("tea_tno <>", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoGreaterThan(String value) {
            addCriterion("tea_tno >", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoGreaterThanOrEqualTo(String value) {
            addCriterion("tea_tno >=", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoLessThan(String value) {
            addCriterion("tea_tno <", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoLessThanOrEqualTo(String value) {
            addCriterion("tea_tno <=", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoLike(String value) {
            addCriterion("tea_tno like", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoNotLike(String value) {
            addCriterion("tea_tno not like", value, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoIn(List<String> values) {
            addCriterion("tea_tno in", values, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoNotIn(List<String> values) {
            addCriterion("tea_tno not in", values, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoBetween(String value1, String value2) {
            addCriterion("tea_tno between", value1, value2, "teaTno");
            return (Criteria) this;
        }

        public Criteria andTeaTnoNotBetween(String value1, String value2) {
            addCriterion("tea_tno not between", value1, value2, "teaTno");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNull() {
            addCriterion("mtime is null");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNotNull() {
            addCriterion("mtime is not null");
            return (Criteria) this;
        }

        public Criteria andMtimeEqualTo(Date value) {
            addCriterion("mtime =", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotEqualTo(Date value) {
            addCriterion("mtime <>", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThan(Date value) {
            addCriterion("mtime >", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("mtime >=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThan(Date value) {
            addCriterion("mtime <", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThanOrEqualTo(Date value) {
            addCriterion("mtime <=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeIn(List<Date> values) {
            addCriterion("mtime in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotIn(List<Date> values) {
            addCriterion("mtime not in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeBetween(Date value1, Date value2) {
            addCriterion("mtime between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotBetween(Date value1, Date value2) {
            addCriterion("mtime not between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andMaplaceIsNull() {
            addCriterion("maplace is null");
            return (Criteria) this;
        }

        public Criteria andMaplaceIsNotNull() {
            addCriterion("maplace is not null");
            return (Criteria) this;
        }

        public Criteria andMaplaceEqualTo(String value) {
            addCriterion("maplace =", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceNotEqualTo(String value) {
            addCriterion("maplace <>", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceGreaterThan(String value) {
            addCriterion("maplace >", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceGreaterThanOrEqualTo(String value) {
            addCriterion("maplace >=", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceLessThan(String value) {
            addCriterion("maplace <", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceLessThanOrEqualTo(String value) {
            addCriterion("maplace <=", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceLike(String value) {
            addCriterion("maplace like", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceNotLike(String value) {
            addCriterion("maplace not like", value, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceIn(List<String> values) {
            addCriterion("maplace in", values, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceNotIn(List<String> values) {
            addCriterion("maplace not in", values, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceBetween(String value1, String value2) {
            addCriterion("maplace between", value1, value2, "maplace");
            return (Criteria) this;
        }

        public Criteria andMaplaceNotBetween(String value1, String value2) {
            addCriterion("maplace not between", value1, value2, "maplace");
            return (Criteria) this;
        }

        public Criteria andMascoreIsNull() {
            addCriterion("mascore is null");
            return (Criteria) this;
        }

        public Criteria andMascoreIsNotNull() {
            addCriterion("mascore is not null");
            return (Criteria) this;
        }

        public Criteria andMascoreEqualTo(String value) {
            addCriterion("mascore =", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreNotEqualTo(String value) {
            addCriterion("mascore <>", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreGreaterThan(String value) {
            addCriterion("mascore >", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreGreaterThanOrEqualTo(String value) {
            addCriterion("mascore >=", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreLessThan(String value) {
            addCriterion("mascore <", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreLessThanOrEqualTo(String value) {
            addCriterion("mascore <=", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreLike(String value) {
            addCriterion("mascore like", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreNotLike(String value) {
            addCriterion("mascore not like", value, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreIn(List<String> values) {
            addCriterion("mascore in", values, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreNotIn(List<String> values) {
            addCriterion("mascore not in", values, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreBetween(String value1, String value2) {
            addCriterion("mascore between", value1, value2, "mascore");
            return (Criteria) this;
        }

        public Criteria andMascoreNotBetween(String value1, String value2) {
            addCriterion("mascore not between", value1, value2, "mascore");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardIsNull() {
            addCriterion("homeyellowcard is null");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardIsNotNull() {
            addCriterion("homeyellowcard is not null");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardEqualTo(Integer value) {
            addCriterion("homeyellowcard =", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardNotEqualTo(Integer value) {
            addCriterion("homeyellowcard <>", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardGreaterThan(Integer value) {
            addCriterion("homeyellowcard >", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeyellowcard >=", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardLessThan(Integer value) {
            addCriterion("homeyellowcard <", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardLessThanOrEqualTo(Integer value) {
            addCriterion("homeyellowcard <=", value, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardIn(List<Integer> values) {
            addCriterion("homeyellowcard in", values, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardNotIn(List<Integer> values) {
            addCriterion("homeyellowcard not in", values, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardBetween(Integer value1, Integer value2) {
            addCriterion("homeyellowcard between", value1, value2, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeyellowcardNotBetween(Integer value1, Integer value2) {
            addCriterion("homeyellowcard not between", value1, value2, "homeyellowcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardIsNull() {
            addCriterion("homeredcard is null");
            return (Criteria) this;
        }

        public Criteria andHomeredcardIsNotNull() {
            addCriterion("homeredcard is not null");
            return (Criteria) this;
        }

        public Criteria andHomeredcardEqualTo(Integer value) {
            addCriterion("homeredcard =", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardNotEqualTo(Integer value) {
            addCriterion("homeredcard <>", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardGreaterThan(Integer value) {
            addCriterion("homeredcard >", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeredcard >=", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardLessThan(Integer value) {
            addCriterion("homeredcard <", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardLessThanOrEqualTo(Integer value) {
            addCriterion("homeredcard <=", value, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardIn(List<Integer> values) {
            addCriterion("homeredcard in", values, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardNotIn(List<Integer> values) {
            addCriterion("homeredcard not in", values, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardBetween(Integer value1, Integer value2) {
            addCriterion("homeredcard between", value1, value2, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomeredcardNotBetween(Integer value1, Integer value2) {
            addCriterion("homeredcard not between", value1, value2, "homeredcard");
            return (Criteria) this;
        }

        public Criteria andHomefoulIsNull() {
            addCriterion("homefoul is null");
            return (Criteria) this;
        }

        public Criteria andHomefoulIsNotNull() {
            addCriterion("homefoul is not null");
            return (Criteria) this;
        }

        public Criteria andHomefoulEqualTo(Integer value) {
            addCriterion("homefoul =", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulNotEqualTo(Integer value) {
            addCriterion("homefoul <>", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulGreaterThan(Integer value) {
            addCriterion("homefoul >", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulGreaterThanOrEqualTo(Integer value) {
            addCriterion("homefoul >=", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulLessThan(Integer value) {
            addCriterion("homefoul <", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulLessThanOrEqualTo(Integer value) {
            addCriterion("homefoul <=", value, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulIn(List<Integer> values) {
            addCriterion("homefoul in", values, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulNotIn(List<Integer> values) {
            addCriterion("homefoul not in", values, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulBetween(Integer value1, Integer value2) {
            addCriterion("homefoul between", value1, value2, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomefoulNotBetween(Integer value1, Integer value2) {
            addCriterion("homefoul not between", value1, value2, "homefoul");
            return (Criteria) this;
        }

        public Criteria andHomeconnerIsNull() {
            addCriterion("homeconner is null");
            return (Criteria) this;
        }

        public Criteria andHomeconnerIsNotNull() {
            addCriterion("homeconner is not null");
            return (Criteria) this;
        }

        public Criteria andHomeconnerEqualTo(Integer value) {
            addCriterion("homeconner =", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerNotEqualTo(Integer value) {
            addCriterion("homeconner <>", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerGreaterThan(Integer value) {
            addCriterion("homeconner >", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeconner >=", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerLessThan(Integer value) {
            addCriterion("homeconner <", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerLessThanOrEqualTo(Integer value) {
            addCriterion("homeconner <=", value, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerIn(List<Integer> values) {
            addCriterion("homeconner in", values, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerNotIn(List<Integer> values) {
            addCriterion("homeconner not in", values, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerBetween(Integer value1, Integer value2) {
            addCriterion("homeconner between", value1, value2, "homeconner");
            return (Criteria) this;
        }

        public Criteria andHomeconnerNotBetween(Integer value1, Integer value2) {
            addCriterion("homeconner not between", value1, value2, "homeconner");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardIsNull() {
            addCriterion("visitingyellowcard is null");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardIsNotNull() {
            addCriterion("visitingyellowcard is not null");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardEqualTo(String value) {
            addCriterion("visitingyellowcard =", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardNotEqualTo(String value) {
            addCriterion("visitingyellowcard <>", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardGreaterThan(String value) {
            addCriterion("visitingyellowcard >", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardGreaterThanOrEqualTo(String value) {
            addCriterion("visitingyellowcard >=", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardLessThan(String value) {
            addCriterion("visitingyellowcard <", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardLessThanOrEqualTo(String value) {
            addCriterion("visitingyellowcard <=", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardLike(String value) {
            addCriterion("visitingyellowcard like", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardNotLike(String value) {
            addCriterion("visitingyellowcard not like", value, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardIn(List<String> values) {
            addCriterion("visitingyellowcard in", values, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardNotIn(List<String> values) {
            addCriterion("visitingyellowcard not in", values, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardBetween(String value1, String value2) {
            addCriterion("visitingyellowcard between", value1, value2, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingyellowcardNotBetween(String value1, String value2) {
            addCriterion("visitingyellowcard not between", value1, value2, "visitingyellowcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardIsNull() {
            addCriterion("visitingredcard is null");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardIsNotNull() {
            addCriterion("visitingredcard is not null");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardEqualTo(Integer value) {
            addCriterion("visitingredcard =", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardNotEqualTo(Integer value) {
            addCriterion("visitingredcard <>", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardGreaterThan(Integer value) {
            addCriterion("visitingredcard >", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardGreaterThanOrEqualTo(Integer value) {
            addCriterion("visitingredcard >=", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardLessThan(Integer value) {
            addCriterion("visitingredcard <", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardLessThanOrEqualTo(Integer value) {
            addCriterion("visitingredcard <=", value, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardIn(List<Integer> values) {
            addCriterion("visitingredcard in", values, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardNotIn(List<Integer> values) {
            addCriterion("visitingredcard not in", values, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardBetween(Integer value1, Integer value2) {
            addCriterion("visitingredcard between", value1, value2, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingredcardNotBetween(Integer value1, Integer value2) {
            addCriterion("visitingredcard not between", value1, value2, "visitingredcard");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulIsNull() {
            addCriterion("visitingfoul is null");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulIsNotNull() {
            addCriterion("visitingfoul is not null");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulEqualTo(Integer value) {
            addCriterion("visitingfoul =", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulNotEqualTo(Integer value) {
            addCriterion("visitingfoul <>", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulGreaterThan(Integer value) {
            addCriterion("visitingfoul >", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulGreaterThanOrEqualTo(Integer value) {
            addCriterion("visitingfoul >=", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulLessThan(Integer value) {
            addCriterion("visitingfoul <", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulLessThanOrEqualTo(Integer value) {
            addCriterion("visitingfoul <=", value, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulIn(List<Integer> values) {
            addCriterion("visitingfoul in", values, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulNotIn(List<Integer> values) {
            addCriterion("visitingfoul not in", values, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulBetween(Integer value1, Integer value2) {
            addCriterion("visitingfoul between", value1, value2, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingfoulNotBetween(Integer value1, Integer value2) {
            addCriterion("visitingfoul not between", value1, value2, "visitingfoul");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerIsNull() {
            addCriterion("visitingconner is null");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerIsNotNull() {
            addCriterion("visitingconner is not null");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerEqualTo(Integer value) {
            addCriterion("visitingconner =", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerNotEqualTo(Integer value) {
            addCriterion("visitingconner <>", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerGreaterThan(Integer value) {
            addCriterion("visitingconner >", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerGreaterThanOrEqualTo(Integer value) {
            addCriterion("visitingconner >=", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerLessThan(Integer value) {
            addCriterion("visitingconner <", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerLessThanOrEqualTo(Integer value) {
            addCriterion("visitingconner <=", value, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerIn(List<Integer> values) {
            addCriterion("visitingconner in", values, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerNotIn(List<Integer> values) {
            addCriterion("visitingconner not in", values, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerBetween(Integer value1, Integer value2) {
            addCriterion("visitingconner between", value1, value2, "visitingconner");
            return (Criteria) this;
        }

        public Criteria andVisitingconnerNotBetween(Integer value1, Integer value2) {
            addCriterion("visitingconner not between", value1, value2, "visitingconner");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}